import { Button } from '@/components/ui/button';
import { FileSelector } from '../FileSelector/FileSelector';
import { FilesIcon } from '../Icons';

interface TaskFilesProps {
  sendFiles: (uploadFiles: File[]) => void;
}

export const TaskFiles = ({ sendFiles }: TaskFilesProps) => {
  return (<FileSelector setFiles={sendFiles}>
    <Button variant='ghost' className='p-1 hover:bg-transparent hover:text-slate-400 text-slate-700'>
      <FilesIcon size={18} />
    </Button>
  </FileSelector>)

}